package cn.itrip.biz.service.itripHotel;
import cn.itrip.beans.pojo.ItripHotel;
import java.util.List;
import java.util.Map;
import java.util.List;
import java.util.Map;

import cn.itrip.beans.vo.hotel.HotelVideoDescVO;
import cn.itrip.beans.vo.hotel.ItripSearchDetailsHotelVO;
import cn.itrip.beans.vo.hotel.ItripSearchFacilitiesHotelVO;
import cn.itrip.beans.vo.hotel.ItripSearchPolicyHotelVO;
import cn.itrip.common.Page;
import org.apache.ibatis.annotations.Param;

/**
* Created by shang-pc on 2015/11/7.
*/
public interface ItripHotelService {

    public ItripHotel getItripHotelById(Long id)throws Exception;

    public List<ItripHotel>	getItripHotelListByMap(Map<String,Object> param)throws Exception;

    public Integer getItripHotelCountByMap(Map<String,Object> param)throws Exception;

    public Integer itriptxAddItripHotel(ItripHotel itripHotel)throws Exception;

    public Integer itriptxModifyItripHotel(ItripHotel itripHotel)throws Exception;

    public Integer itriptxDeleteItripHotelById(Long id)throws Exception;

    public Page<ItripHotel> queryItripHotelPageByMap(Map<String,Object> param,Integer pageNo,Integer pageSize)throws Exception;

    //查询酒店视频详细描述
    public HotelVideoDescVO getVideoDescByHotel(Long hotelId) throws Exception;

    //查询酒店设施
    public ItripSearchFacilitiesHotelVO getItripHotelFacilitiesById(Long hotelId) throws Exception;

    //查询酒店功能和介绍
    public List<ItripSearchDetailsHotelVO> getSearchDetailsByHotelId(Long hotelId) throws Exception;

    //查询酒店政策
    public ItripSearchPolicyHotelVO getHotelPolicyById(Long hotelId) throws Exception;
}
